package com.sloan.community.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.data.relational.core.mapping.Table;
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="t_notification")
public class Notification extends BasePO{

    /** 来自用户ID */
    private Long fromUserId ;
    /** 接收用户ID */
    private Long toUserId ;
    /** 文章ID */
    private Long articleId ;
    /** 评论ID */
    private Long commentId ;
    /** 是否已读(false-没读，true-已读) */
    private Boolean status ;

    /** 通知类型(0-文章通知，1-评论通知) */
    private Integer type;

}
